import {createRouter, createWebHistory} from 'vue-router';

const routes = [
    {
        path: "/sw",
        name: "SelfContent",
        component: () => import("../components/SelfWrite.vue")
    },
    {
        path: "/sr",
        name: "SelfRead",
        component: () => import("../components/SelfRead.vue")
    },
    {
        path: "/",
        name: "OutRead",
        component: () => import("../components/out/outRead.vue")
    },
    {
        path: "/w",
        name: "OutWrite",
        component: () => import("../components/out/outWrite.vue")
    }
];

const router = createRouter({
    history: createWebHistory("/"),
    routes,
});
export default router;
